package com.qm.console.pubdef.dto.user;

import io.swagger.annotations.ApiModel;
import lombok.Data;

import java.util.List;

@Data
@ApiModel(value = "页面信息")
public class PageInfoDTO<T> {

    private Integer endRow ;
    private Integer firstPage = 1 ;

    private Boolean hasNextPage ;
    private Boolean hasPreviousPage  ;
    private Boolean isFirstPage   ;
    private Boolean isLastPage   ;

    private Integer lastPage  ;

    private List<T> list ;

    private Integer navigateFirstPage = 1 ;
    private Integer navigateLastPage ;
    private Integer navigatePages ;

    private List<Integer> navigatepageNums ;

    private Integer nextPage ;
    private Integer pageNum ;
    private Integer pageSize ;
    private Integer pages ;
    private Integer prePage ;
    private Integer size ;
    private Integer startRow ;
    private Integer total ;

    private Integer status;
}
